package com.hibernate.hrm.dao;

import com.hibernate.hrm.entity.Contract;
import com.hibernate.hrm.entity.ContractFulfillment;
import org.springframework.data.jpa.repository.JpaRepository;
import java.util.List;

public interface ContractFulfillmentRepository extends JpaRepository<ContractFulfillment, Integer> {
    List<ContractFulfillment> findByContractOrderByFulfillmentDateDesc(Contract contract);
}
